﻿using MaterialManagement.Domain.MesWorkOrder;
using MaterialManagement.ErrorCode;
using MediatR;

namespace MaterialManagement.API.Application.Command.MesWorkOrder
{
    public class CreateBOMCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// BOM编号
        /// </summary>
        public string BOMCode { get; set; }
        /// <summary>
        /// BOM主题
        /// </summary>
        public string BOMTopic { get; set; }
        /// <summary>
        /// 产品类型
        /// </summary>
        public string ProductType { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 日产量
        /// </summary>
        public int Output { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 所需物料
        /// </summary>
        public List<BOMProductModel> BOMProductModels { get; set; }
    }
}
